package com.task.core.domain.info;

import com.task.common.utils.uuid.UUID;

import lombok.Data;

/**
 * @author 迪迦.
 * @date 2025/1/17 11:34
 */
@Data
public class RelationMissionSourceInfo {

  private Integer id;
  private String code;
  private String missionCode;
  private String sourceCode;
  private String sourceType;

  public RelationMissionSourceInfo(String missionCode, String sourceCode, String sourceType) {
    this.code = UUID.randomUUID().toString().replace("-", "");
    this.missionCode = missionCode;
    this.sourceCode = sourceCode;
    this.sourceType = sourceType;
  }
}
